<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.lmpop.createIndex.search.B2CHelpIndexFiles"%>
<%@page import="java.util.Hashtable"%>
<%@page import="java.util.List"%>	
 <div id="contaner">
 <!--帮助开始-->
  <div id="foot">
    <h3><img src="/templets/html/shop/images/transparent.gif" /><img src="/templets/html/shop/images/true.gif" /><img src="/templets/html/shop/images/sevice.gif" /></h3>
    <div class="help">
      <h4><img src="/templets/html/shop/images/foot_01.gif" /></h4>
      <ul>
       <%
								Hashtable paraMap = new Hashtable();
								Hashtable contentMap = new Hashtable();
								B2CHelpIndexFiles helpIndex=new B2CHelpIndexFiles();
								List helpList=null;
								paraMap.put("ch_attr", "7ndhx63Rk04X27U|3P5N12aL452k1PM|");
							    helpList = helpIndex.getHelpInfo(paraMap);
								if (null != helpList && helpList.size() > 0) {
									for (int i = 0; i < helpList.size(); i++) {
										contentMap = (Hashtable) helpList.get(i);
										String info_id = "", title = "",hrefurl="";
										if (contentMap.get("info_id") != null)
											info_id = contentMap.get("info_id").toString();
										if (contentMap.get("title") != null)
											title = contentMap.get("title").toString();
										hrefurl = "/about/shop_help.html?ch_attr=7ndhx63Rk04X27U|3P5N12aL452k1PM|&info_id=" + info_id;
										%>
										<li><a href="<%=hrefurl%>"><%=title%></a></li>
										<%
									}
								}
							%>
      </ul>
    </div>
    <div class="help">
      <h4><img src="/templets/html/shop/images/foot_02.gif" /></h4>
      <ul>
      <%
								 paraMap.put("ch_attr", "7ndhx63Rk04X27U|m766G326LOQ6Q56|");
							     helpList = helpIndex.getHelpInfo(paraMap);
								if (null != helpList && helpList.size() > 0) {
									for (int i = 0; i < helpList.size(); i++) {
										contentMap = (Hashtable) helpList.get(i);
										String info_id = "", title = "",hrefurl="";
										if (contentMap.get("info_id") != null)
											info_id = contentMap.get("info_id").toString();
										if (contentMap.get("title") != null)
											title = contentMap.get("title").toString();
										hrefurl = "/about/shop_help.html?ch_attr=7ndhx63Rk04X27U|m766G326LOQ6Q56|&info_id=" + info_id;
										%>
										<li><a href="<%=hrefurl%>"><%=title%></a></li>
										<%
									}
								}
							 %>
      </ul>
    </div>
    <div class="help">
      <h4><img src="/templets/html/shop/images/foot_03.gif" /></h4>
      <ul>
       <%
								 paraMap.put("ch_attr", "7ndhx63Rk04X27U|2dy77520M4xG17D|");
							     helpList = helpIndex.getHelpInfo(paraMap);
								if (null != helpList && helpList.size() > 0) {
									for (int i = 0; i < helpList.size(); i++) {
										contentMap = (Hashtable) helpList.get(i);
										String info_id = "", title = "",hrefurl="";
										if (contentMap.get("info_id") != null)
											info_id = contentMap.get("info_id").toString();
										if (contentMap.get("title") != null)
											title = contentMap.get("title").toString();
										hrefurl = "/about/shop_help.html?ch_attr=7ndhx63Rk04X27U|2dy77520M4xG17D|&info_id=" + info_id;
										%>
										<li><a href="<%=hrefurl%>"><%=title%></a></li>
										<%
									}
								}
							 %>
      </ul>
    </div>
    <div class="help">
      <h4><img src="/templets/html/shop/images/foot_04.gif" /></h4>
      <ul>
        <%
								 paraMap.put("ch_attr", "7ndhx63Rk04X27U|SD748cJeiKX07U8|");
							     helpList = helpIndex.getHelpInfo(paraMap);
								if (null != helpList && helpList.size() > 0) {
									for (int i = 0; i < helpList.size(); i++) {
										contentMap = (Hashtable) helpList.get(i);
										String info_id = "", title = "",hrefurl="";
										if (contentMap.get("info_id") != null)
											info_id = contentMap.get("info_id").toString();
										if (contentMap.get("title") != null)
											title = contentMap.get("title").toString();
										hrefurl = "/about/shop_help.html?ch_attr=7ndhx63Rk04X27U|SD748cJeiKX07U8|&info_id=" + info_id;
										%>
										<li><a href="<%=hrefurl%>"><%=title%></a></li>
										<%
									}
								}
							 %>
      </ul>
    </div>
  </div>
  <!--帮助开始-->
  </div>
</div>
<!--底部开始-->
<div class="footer">
		<p>
					<%
						paraMap.put("ch_attr", "77f07U1647u8U0S|");
					    helpList = helpIndex.getHelpInfo(paraMap);

								if (null != helpList && helpList.size() > 0) {
									for (int i = 0; i < helpList.size(); i++) {
										contentMap = (Hashtable) helpList.get(i);
										String info_id = "", title = "",hrefurl="";
										if (contentMap.get("info_id") != null)
											info_id = contentMap.get("info_id").toString();
										if (contentMap.get("title") != null)
											title = contentMap.get("title").toString();
										hrefurl = "/about/shop_help.html?info_id=" + info_id;
										%>
										<a href="<%=hrefurl%>"><%=title%></a>|
										<%
									}
								}
					 %>
				</p>
<p>版权所有 (C)  <a href="http://www.lmpop.com">商城系统</a>Power By 郑州雷鸣信息科技有限责任公司</p>
<p><img src="/templets/html/shop/images/jc01.gif" /><img src="/templets/html/shop/images/jc02.gif" /><img src="/templets/html/shop/images/jc03.gif" /></p>
</div>
<!--底部结束-->
<script>
	function trim(val){
		return val.replace(/(\s*$)/g, "");
	}
		
	function seacher(){
		var keyword = trim(document.getElementById("keyword").value);
		var ch_id = document.getElementById("ch_id").value;
		if(keyword=='' || keyword=='请输入关键字'){
			alert('请输入关键字！'); 
		}else{
		  keyword = encodeURI(encodeURI(keyword))
		  window.open("/shop_goods_list.html?q="+keyword+"&ch_id="+ch_id);
		}  
	}	
    document.onkeydown = keyDown;
	
	function keyDown(e){ 
		if((e ? e.which : event.keyCode)==13 ){
			seacher();
		}
	}
	
	</script>